<tagLib name="html" />
<include file="Public:header" />
			<include file="Public:menu" />
			<div id="right">
				<div class="top"></div>
				<div class="app_right_banner">
					<div class="app_face">
						<img src="__PUBLIC__/Uploads/face/small/{$userInfo['faceimg']}"/>
					</div>
					<div class="app_userinfo">
						<p class="app_module">我的日志</p>
						<p class = "app_module_back"><a href="__APP__/user">返回我的空间</a></p>
					</div>
				</div>
				<div class="app_right_menu">
					<div class="arm_1">
						修改日志				
					</div>
					<div class="arm_2">
						<a href="__APP__/showblog/{$blog['id']}">返回日志</a>					
					</div>
					<div class="arm_2">
						<a href="__URL__">好友的日志</a>
					</div>
					<div class="arm_2">
						<a href="__APP__/blogs/{$userInfo['id']}">我的日志</a>					
					</div>
					<div class="arm_2">
						<a href="__URL__/drafty">草稿箱</a>					
					</div>
					
				</div>
				<div class="app_right_count">
					修改日记
				</div>
				<div>
					<div class="app_right_left">
						<div class="blogshow">
							<form id="blogForm" action="__URL__/updateblog" method="POST">
								<p>
									<b>标题</b>
									<br/><input type="text" id="title" name="title" size="50" value="{$blog['title']}"/>
								</p>
								<p>
									<b>内容</b>
									<br/><html:editor id="content" name="content" width="400" type="FCKeditor"  toolbar="Basic" content="{$blog['content']}" />
								</p>
								<!--
								<p>
									<b>附件</b>
									<br/>
									<input type="file" name="attach" size="40"/>
								</p>
								-->
								<p>
									<b>隐私设置</b>
									<select name="privacy">
										<option value="3" <equal name='blog["setting"]' value='3'>selected</equal>>全站用户可见</option>
										<option value="2" <equal name='blog["setting"]' value='2'>selected</equal>>相同网络及好友可见</option>
										<option value="1" <equal name='blog["setting"]' value='1'>selected</equal>>仅好友可见</option>
										<option value="0" <equal name='blog["setting"]' value='0'>selected</equal>>唯自己可见</option>
									</select>
								</p>
								<p>
									<input type="hidden" name="id" value="{$blog['id']}"/>
									<input type="submit" name="post" value="修改日志"/>
									<input type="checkbox" name="drafty" value="1"  <equal name='blog["showtype"]' value='2'>checked="checked"</equal>/> 保存为草稿
								</p>
							</form>
						</div>
					</div>
				</div>
			</div>
<include file="Public:footer" />